package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.SensitiveDto;
import com.heima.model.admin.pojos.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;

public interface AdSensitiveService extends IService<AdSensitive> {

    /**
     * 敏感词分页查询
     * @param dto
     * @return
     */
    public ResponseResult findPage(SensitiveDto dto);

    /**
     * 新增
     * @param
     * @return
     */
    public ResponseResult add(AdSensitive adSensitive);

    /**
     * 修改
     * @param
     * @return
     */
    public ResponseResult update(AdSensitive adSensitive);

    /**
     * 删除
     * @param
     * @return
     */
    public ResponseResult del(Integer id);


}
